package cn.tedu.store.service;



import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;


@RunWith(SpringRunner.class)
@SpringBootTest
public class OrderServiceTestCase {
	@Autowired
	private IOrderService service;
	
	@Test
	public void create() {
		Integer aid=57;
		Integer[] cids= {10,11,12,13};
		Integer uid=28;
		String username="朱上林林林林";
		try {
			service.create(aid, cids, uid, username);
		} catch (Exception e) {
			System.err.println(e.getClass().getName());
			System.err.println(e.getMessage());
		}
		
	}
	

}
